package org.dromara.system.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import lombok.*;
import org.dromara.system.domain.MemberRecords;
import org.dromara.system.domain.common.BasePageReqDTO;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 会员开通记录业务对象 member_records
 *
 * @author Lion Li
 * @date 2025-07-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = MemberRecords.class, reverseConvertGenerate = false)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MemberRecordsBo extends BasePageReqDTO {

    /**
     *
     */
    private Long id;

    private Long memberConfigId;

    private String no;

    /**
     *
     */
    private Long userId;

    /**
     * 会员金额
     */
//    @NotNull(message = "会员金额不能为空", groups = { AddGroup.class, EditGroup.class })
    private BigDecimal price;

    /**
     * 支付状态
     */
//    @NotNull(message = "支付状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer status;

    /**
     * 备注
     */
//    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;


    private String userName;

    private Date startTime;

    private Date endTime;


}
